package com.letoken.platform.repo.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * Le账户-生态建设等级
 * </p>
 *
 * @author 作者
 * @since 2022-12-13
 */
@Getter
@Setter
@TableName("team_performance")
public class TeamPerformance extends Model<TeamPerformance> {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;
    private Integer type;

    @TableField("recent_leader")
    private Integer recentLeader;
    private BigDecimal performance;
    @TableField("created_at")
    private LocalDateTime createdAt;



    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
